import { WxLoginSDK } from './WxLoginSDK';
import { WxTokenSDK } from './WxTokenSDK';
import { WxTemplateMsgSDK } from './WxTemplateMsgSDK';
export * from './WxLoginSDK';
export * from './WxTokenSDK';
export * from './WxTemplateMsgSDK';
export * from './types';

export const createWxSDK = (config: { appId: string; appSecret: string }) => {
  return {
    login: new WxLoginSDK(config),
    token: new WxTokenSDK(config),
    templateMsg: new WxTemplateMsgSDK(config)
  };
}; 